-- GENERATED SPELL FOR [Incendosaur] --


function spell0_9318(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(11985,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9318', 3000, 1)
end

function Sorts_9318(pUnit, Event)
local choix_sorts_9318 = math.random(0, 0)
if choix_sorts_9318 == 0 then
pUnit:RegisterEvent('spell0_9318', 1, 1)
end
end

function mob9318_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9318', math.random(1500, 3000), 1)
end

function mob9318_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9318_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9318_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9318, 1, 'mob9318_Action')
RegisterUnitEvent(9318, 2, 'mob9318_Leave')
RegisterUnitEvent(9318, 3, 'mob9318_Kill')
RegisterUnitEvent(9318, 4, 'mob9318_Die')
